// 基于template/src/widgets/{{appEntities}}/{{ctrls@GRID}}-grid/{{spinalCase ctrl.codeName}}-grid-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

export class GridDataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        const wfKey = ['srftaskid','srftaskdefinitionkey','srfprocessdefinitionkey','srfprocessdefinitionid','srfprocessinstanceid'];
        //  表格自持属性
        this.$ownKeys = ['ibizorderdetail', 'ibizorderdetailname', 'ibizordername', 'ibizuniproductname', 'quantity', 'unitprice', 'amount', 'unit', 'ibizorderdetailid', 'srfkey', 'srfdataaccaction', 'ibizorderid', 'ibizuniproductid', 'srfmajortext', ...wfKey];
    }

    get ibizorderdetailname() {
        return this.$DO.ibizorderdetailname;
    }

    set ibizorderdetailname(value: any) {
        this.$DO.ibizorderdetailname = value;
    }
    get ibizordername() {
        return this.$DO.ibizordername;
    }

    set ibizordername(value: any) {
        this.$DO.ibizordername = value;
    }
    get ibizuniproductname() {
        return this.$DO.ibizuniproductname;
    }

    set ibizuniproductname(value: any) {
        this.$DO.ibizuniproductname = value;
    }
    get quantity() {
        return this.$DO.quantity;
    }

    set quantity(value: any) {
        this.$DO.quantity = value;
    }
    get unitprice() {
        return this.$DO.unitprice;
    }

    set unitprice(value: any) {
        this.$DO.unitprice = value;
    }
    get amount() {
        return this.$DO.amount;
    }

    set amount(value: any) {
        this.$DO.amount = value;
    }
    get unit() {
        return this.$DO.unit;
    }

    set unit(value: any) {
        this.$DO.unit = value;
    }
    get ibizorderdetailid() {
        return this.$DO.ibizorderdetailid;
    }

    set ibizorderdetailid(value: any) {
        this.$DO.ibizorderdetailid = value;
    }
    get srfkey() {
        return this.$DO.ibizorderdetailid;
    }

    set srfkey(value: any) {
        this.$DO.ibizorderdetailid = value;
    }
    get srfdataaccaction() {
        return this.$DO.ibizorderdetailid;
    }

    set srfdataaccaction(value: any) {
        this.$DO.ibizorderdetailid = value;
    }
    get ibizorderid() {
        return this.$DO.ibizorderid;
    }

    set ibizorderid(value: any) {
        this.$DO.ibizorderid = value;
    }
    get ibizuniproductid() {
        return this.$DO.ibizuniproductid;
    }

    set ibizuniproductid(value: any) {
        this.$DO.ibizuniproductid = value;
    }
    get srfmajortext() {
        return this.$DO.ibizorderdetailname;
    }

    set srfmajortext(value: any) {
        this.$DO.ibizorderdetailname = value;
    }

    set ibizorderdetail(value: any) {
        this.$DO.ibizorderdetailid = value;
    }
    get ibizorderdetail() {
        return this.$DO.ibizorderdetailid;
    }

    get srftaskid(){
        return this.$DO.srftaskid;
    }

    get srftaskdefinitionkey(){
        return this.$DO.srftaskdefinitionkey;
    }

    get srfprocessdefinitionkey(){
        return this.$DO.srfprocessdefinitionkey;
    }

    get srfprocessdefinitionid(){
        return this.$DO.srfprocessdefinitionid;
    }

    get srfprocessinstanceid(){
        return this.$DO.srfprocessinstanceid;
    }
}

export const GridControlVO = [{ name: 'GridControlVO', controlVO: GridDataControlVO }]